package com.XinYun.Library.modules.bookcart.delete.entity;


    public class Book {
        private String title;
        private String author;
        private String id;

        public Book(String title, String author) {
            this.title = title;
            this.author = author;
        }

        public Book() {
        }

        public Book(String title, String author, String id) {
            this.title = title;
            this.author = author;
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public String getAuthor() {
            return author;
        }

        /**
         * 设置
         * @param title
         */
        public void setTitle(String title) {
            this.title = title;
        }

        /**
         * 设置
         * @param author
         */
        public void setAuthor(String author) {
            this.author = author;
        }

        /**
         * 获取
         * @return id
         */
        public String getId() {
            return id;
        }

        /**
         * 设置
         * @param id
         */
        public void setId(String id) {
            this.id = id;
        }

        public String toString() {
            return "Book{title = " + title + ", author = " + author + ", id = " + id + "}";
        }
    }


